.footer {
    width: 100%;
    position: relative;
}
.footer__inner {
    width: 100%;
    background: #FFFFFF;
    border-radius: 30px 30px 0 0;
    position: relative;
}

.footer__main {
    margin: 0 auto;
    padding-right: 60px;
}

.footer__main-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer__left {
    width: 65%;
}

.footer__matryoshka {
    width: 100%;
    height: auto;
    display: block;
}

.footer__right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-top: 80px;
}

.footer__links-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80%;
}

.footer__links-title {
    font-family: 'Geologica';
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #292929;
    margin-bottom: 20px;
}

.footer__links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 23px;
}

.footer__link {
    font-family: 'Geologica';
    font-size: 12px;
    font-weight: 200;
    color: #292929;
    text-decoration: none;
}

.footer__button {
    width: 240px;
    height: 47px;
    background: #D66584;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
}

.footer__socials {
    margin-top: 0;
}

.footer__socials-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: #D66584;
}

.footer__social-link {
    display: inline-block;
    text-decoration: none;
    color: #D66584;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.footer__logo {
    width: 190px;
    height: auto;
    display: block;
}

.footer__developer {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    margin: 0 auto;
    background: rgba(254, 240, 246, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 24px 40px;
}

.footer__developer-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Geologica';
    font-size: 12px;
    color: #A9A1A5;
    font-weight: 300;
    text-transform: uppercase;
}

.footer__legal-link {
    color: #A9A1A5;
    text-decoration: none;
    font-weight: 200;
}
.footer__copyright {
    font-weight: 200;
}
.footer__developed-link {
    color: #A9A1A5;
    text-decoration: underline;
    transition: opacity .3s;
    font-weight: 200;
}
.footer__developed-link:hover {
    opacity: 0.7;
}

.footer__mobile {
    display: none;
}

@media (max-width: 1730px) {
    .footer__links-block {
        height: 76%;
    }
    .footer__right {
        padding-top: 70px;
    }
    .footer__logo {
        width: 155px;
    }
}
@media (max-width: 1650px) {
    .footer__left {
        width: 65%;
    }
    .footer__button {
        height: 40px;
        font-size: 10px;
    }
    .footer__socials-text, .footer__social-link{
        font-size: 14px;
    }
}
@media (max-width: 1550px) {
    .footer__developer {
        bottom: 12px;
        left: 10px;
        right: 10px;
        padding: 19px 30px;
    }
    .footer__socials-text, .footer__social-link{
        font-size: 12px;
    }
    .footer__logo {
        width: 135px;
    }
}
@media (max-width: 1400px) {
    .footer__left {
        width: 70%;
    }
    .footer__links-block {
        height: 79%;
    }
    .footer__main-container {
        gap: 30px;
    }
    .footer__right {
        padding-top: 0px;
    }
    .footer__main {
        padding: 60px 40px 0 0;
    }
}
@media (max-width: 1275px) {
    .footer__links-block {
        height: 80%;
    }
}

@media (max-width: 1180px) {
    .footer__links-block {
        gap: 23px;
        margin-bottom: 23px;
    }
    .footer__main-container {
        align-items: end;
    }
    .footer__main {
        padding: 60px 40px 70px 0;
    }
    .footer__left {
        height: 100%;
    }

}
@media (max-width: 768px) {
    .footer__main {
        display: none;
    }
    .footer__developer {
        display: none;
    }
    .footer__mobile {
        display: block;
        background: #FFFFFF;
        border-radius: 20px 20px 0 0;
        position: relative;
    }
    .footer__mobile-inner {
        padding: 70px 20px 27px;
    }
    .footer__mobile-logo-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 56px;
    }
    .footer__mobile-logo {
        width: 190px;
    }

    .footer__mobile-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 95%;
        height: 47px;
        background: #D66584;
        border-radius: 5px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        color: #FFFFFF;
        cursor: pointer;
        margin:0 auto 24px;
    }
    .footer__mobile-socials {
        text-align: center;
        margin-bottom: 40px;
    }
    .footer__mobile-socials-text {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        color: #D66584;
        margin-bottom: 24px;
    }
    .footer__social-link {
        font-size: 14px;
    }
    .footer__accordion {
        background: #FFF3F8;
        border-radius: 10px;
    }
    .footer__accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        cursor: pointer;
    }
    .footer__accordion-title {
        font-family: 'Geologica';
        font-size: 14px;
        font-weight: 300;
        text-transform: uppercase;
        color: #292929;
    }
    .footer__accordion-icon {
        flex-shrink: 0;
        transition: transform 0.4s ease;
    }
    .footer__accordion-icon-line {
        transform-origin: center;
        transition: transform 0.4s ease;
    }
    .footer__accordion.is-open .footer__accordion-icon-line {
        transform: rotate(-90deg);
    }
    .footer__accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .footer__accordion.is-open .footer__accordion-content {
        max-height: 300px;
    }
    .footer__accordion-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 4px 0 29px 16px;
        padding-left: 16px;
        padding-bottom: 29px;
    }
    .footer__accordion-link {
        font-family: 'Geologica';
        font-size: 14px;
        font-weight: 200;
        color: #292929;
        text-decoration: none;
    }
    .footer__mobile-matryoshka {
        width: 100%;
        padding: 0 0 51px;
    }
    .footer__mobile-matryoshka-img {
        width: 100%;
        height: auto;
        display: block;
    }
    .footer__mobile-dev {
        position: absolute;
        bottom: 27px;
        left: 5px;
        right: 5px;
    }
    .footer__mobile-dev-top {
        background: rgba(254, 240, 246, 0.8);
        backdrop-filter: blur(20px);
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 21px;
        font-family: 'Geologica';
        text-transform: uppercase;
        padding: 15px 12px 16px;
        color: #A9A1A5;
        font-weight: 300;
        font-size: 10px;
    }
    .footer__mobile-legal-link {
        color: #A9A1A5;
        font-weight: 300;
        font-size: 10px;
        text-decoration: none;
    }
    .footer__mobile-dev-bottom {
        text-align: center;
    }
    .footer__mobile-developed {
        font-family: 'Geologica', sans-serif;
        font-size: 10px;
        color: #404040;
    }
    .footer__mobile-developed-link {
        color: #A9A1A5;
        font-weight: 300;
        font-size: 10px;
        text-decoration: underline;
        transition: opacity 0.3s;
        text-transform: uppercase;
    }
    .footer__mobile-developed-link:hover {
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .footer__mobile-button {
        width: 100%;
    }
}
@media (max-width: 400px) {
    .footer__mobile-socials-text, .footer__social-link, .footer__accordion-title, .footer__accordion-link{
        font-size: 11px;
    }
    .footer__mobile-logo {
        width: 140px;
    }
    .footer__mobile-logo-wrapper {
        margin-bottom: 30px;
    }
    .footer__mobile-legal-link,
    .footer__mobile-copyright,
    .footer__mobile-developed-link{
        font-size: 8px;
    }
    .footer__mobile-button {
        height: 40px;
        font-size: 10px;
    }
}